<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/8/16
  Time: 14:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>我的主页</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap.min.css">

    <!-- Bootstrap -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/index.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/myHomePage.css"/>
    <script src="${pageContext.request.contextPath}/js/jquery-3.6.0.min.js"></script>
    <script src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
</head>

<body>
<div class="header">
    <%@include file="../pub/header.jsp" %>
    <div class="nav">
        <div class="container">

            <div class="row">
                <a class="col-md-3 col-xs-6" href="${pageContext.request.contextPath}/index">首&nbsp;页</a>
                <a class="col-md-3 col-xs-6" href="${pageContext.request.contextPath}/user/news">新闻资讯</a>
                <a class="col-md-3 col-xs-6" href="${pageContext.request.contextPath}/re_approve/item">办事大厅</a>
                <a class="col-md-3 col-xs-6"
                   href="${pageContext.request.contextPath}/item/revealFull">公示信息</a>
            </div>
        </div>
    </div>
</div>

<br/>
<div class="container" align="center">
    <div  class="jbxx">我的基本信息</div>
    <%--<a href="#" class="xmxx" onclick="f2()">项目信息</a>--%>
</div>
<div class="container" id="context">
    <div class="mine">
       <div class="bs-example" data-example-id="bordered-table">
                <table class="table table-bordered">
                <thead>
                <tr>

                    <br/>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td scope="row">姓名</td>
                    <td>${user.name}</td>
                </tr>
                <tr>
                    <td scope="row">性别</td>
                    <td>${user.sex}</td>
                </tr>
                <tr>
                    <td scope="row">电话</td>
                    <td>${user.telephone}</td>
                </tr>
                <tr>
                    <td scope="row">邮箱</td>
                    <td>${user.email}</td>
                </tr>
                <tr>
                    <td scope="row">身份证号</td>
                    <td>${user.idCard}</td>
                </tr>
                <tr>
                    <td scope="row">创建时间</td>
                    <td><fmt:formatDate value="${user.createTime}" pattern="yyyy-MM-dd HH:mm:ss"></fmt:formatDate></td>
                </tr>

                <tr>
                    <td scope="row">住址</td>
                    <td>${user.address}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
 <%--   <div class="project1">
        <div class="bs-example" data-example-id="bordered-table">
            <table class="table table-bordered">
                <thead>
                <tr>
                    <br/>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td width="20%">项目标识代码</td>
                    <td>tryyyry</td>
                    <td width="20%">全国统一编码</td>
                    <td>5464464</td>
                </tr>
                <tr>
                    <td>审批事项编码</td>
                    <td>tryyyry</td>
                    <td>地方审批事项完整名称</td>
                    <td>5464464</td>
                </tr>
                <tr>
                    <td>地方/中央审批事项编码</td>
                    <td>tryyyry</td>
                    <td>审批部门完整名称</td>
                    <td>5464464</td>
                </tr>
                <tr>
                    <td>办理状态</td>
                    <td>tryyyry</td>
                    <td>当前状态办理时间</td>
                    <td>5464464</td>
                </tr>
                <tr>
                    <td>事项办理时限</td>
                    <td>tryyyry</td>
                    <td>审批事项计划办结时间</td>
                    <td>5464464</td>
                </tr>
                <tr>
                    <td>批复文号</td>
                    <td>tryyyry</td>
                    <td>批复文件有效期限</td>
                    <td>5464464</td>
                </tr>
                <tr>
                    <td>数据有效标识</td>
                    <td>tryyyry</td>
                    <td></td>
                    <td></td>
                </tr>

                </tbody>
            </table>
        </div>
    </div>--%>
</div>
<%@include file="../pub/footer.jsp" %>

<%--<script>
    function f1() {
        var mine = $(".mine").html;
        console.log(mine)
        $(".project1").css("display","none");
        $(".mine").css("display","block");
    }

    function f2() {
        var project1 = $(".project1").html;
        $(".mine").css("display","none");
        $(".project1").css("display","block");

    }

</script>--%>

</body>
</html>
